const mainType = [{
	required: true,
	message: '维修类型不能为空',
	trigger: 'blur'
}]

const textareaContent = [{
	required: true,
	message: '维修内容不能为空',
	trigger: 'blur'
}]

const textareaRemark = [{
	required: true,
	message: '维修备注不能为空',
	trigger: 'blur'
}]

const cost = [{
	required: true,
	message: '维修费用不能为空',
	trigger: 'blur'
}]

const name = [{
	required: true,
	message: '项目名称不能为空',
	trigger: 'blur'
},  { min: 1, max: 50, message: '项目名称长度在 1 到 50 个字符', trigger: 'blur' }]

export{
	mainType,
	textareaContent,
	textareaRemark,
	cost,
	name
}